<template>
    <div class="loadingParent">
        <div class="loading">
            即将进入应急大数据可视化系统...
        </div>
        <div class="loadingR">
        </div>   
    </div>
</template>

<script>

export default {  
    
};
</script>

<style lang="stylus" scoped>
.loadingParent {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: #20293a;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 21px;
    font-smooth: auto;
    font-weight: 300;
    line-height: 1.5;
    color: #444;
    .loading {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 500px;
        height: 500px;
        background-color: #20293a;
        color: #20293a;
        border-radius: 50%;
        font-weight: bold;
        line-height: 1.5;
        text-align: center;
        z-index:4;
        animation: text 10s ease infinite;
    }
    .loadingR {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        right: 0;
        bottom:0;
        z-index: 3;
        width: 500px;
        height: 500px;
        margin:auto;
        transform: scale(0.85);
        filter: blur(5vw);
        background: linear-gradient(270deg, #00fcbd, #7400f9);
        background-size: 150% 150%;
        border-radius: 50%;
        animation: glowmation 10s linear infinite;
    }
}
@keyframes glowmation {
    0% {
        top: -3%;
        left: -3%;
        background-position: 0% 50%;
        background-size: 150% 150%;
    }
    12.5% {
        top: -3%;
        left: 0;
        background-size: 70% 30%;
    }
    25% {
        top: -3%;
        left: 3%;
        background-size: 100% 50%;
    }
    37.5% {
        top: 0;
        left: 3%;
        background-size: 70% 30%;
    }
    50% {
        top: 3%;
        left: 3%;
        background-position: 100% 50%;
        background-size: 30% 30%;
    }
    62.5% {
        top: 3%;
        left: 0;
        background-size: 30% 70%;
    }
    75% {
        top: 3%;
        left: -3%;
        background-size: 50% 100%;
    }
    87.5% {
        top: 0;
        left: -3%;
        background-size: 30% 70%;
    }
    100% {
        top: -3%;
        left: -3%;
        background-position: 0% 50%;
        background-size: 150% 150%;
    }
}
@keyframes text {
    0% {
        color: #7400f9;
    }
    50% {
        color: #00fcbd;
    }
    100% {
        color: #7400f9;
    }
}
</style>